package cn.ssm.service.serviceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.ssm.dao.OrderCodeMapper;
import cn.ssm.service.OrderCodeService;

/**
 * 订单兑换码业务逻辑实现层
 * @author 黄少涛
 *
 */
@Service
public class OrderCodeServiceImpl implements OrderCodeService {
	@Autowired
	OrderCodeMapper ordercodeMapper;

	@Override
	public int addOrderCode(String orderId, String code) {
		
		return ordercodeMapper.addOrderCode(orderId, code);
	}

}
